#include"reserve_area.h"

int main()
{
    const char*filename="a.txt";
    _FILE* pf= _fopen(filename,"w");
    char buf[]="abcdefg";
    _fwrite(buf,sizeof(char),strlen(buf),pf);
    int t=5;
    while(t--)
    {
        printf("%d\n",t);//用于计时
        sleep(1);
    }

    
    _fflush(pf);
   _fclose(pf);
    return 0;
}
